import com.alibaba.fastjson.parser.ParserConfig;
import com.alibaba.fastjson.serializer.SerializeConfig;
import com.cheneyjoo.util.ServerInit;

import java.io.IOException;

public class ServerClient {
    public static void main(String[] args) {
        SerializeConfig.getGlobalInstance().clearSerializers();
        ParserConfig.getGlobalInstance().clearDeserializers();
        ServerInit si=new ServerInit();
        try {
            si.start();
        } catch (IOException e) {
            e.printStackTrace();
        }finally {
            try {
                si.stop();
            } catch (IOException e) {
                e.printStackTrace();
            }
        }
    }
}
